package com.liujg.future.mapper;

import com.liujg.future.model.entity.Address;
import com.liujg.future.model.entity.UserInfo;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface AddressRepository extends MongoRepository<Address, String> {

    List<Address> findByUserId(String userId);



}
